package com.four.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;
/**
 * @Author:wsy
 * @Date: 2021/12/9/15:35
 */
@Data
public class Adder {

    /**
     * 编号
     */
    private Integer sitId;

    /**
     * 地址名称
     */
    private String sitName;

    /**
     * 父级ID
     */
    private Integer sitParent;

    /**
     * 表示在数据表中不存在
     */
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Adder> children;
}
